package sk.stuba.fiit.pki.service;

import java.io.IOException;
import java.math.BigInteger;
import java.security.GeneralSecurityException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.UnrecoverableEntryException;
import java.security.UnrecoverableKeyException;
import java.security.cert.CertificateException;

import org.bouncycastle.tsp.TSPException;
import org.bouncycastle.tsp.TimeStampRequest;
import org.bouncycastle.tsp.TimeStampResponse;

public interface TimeStampService {

	public TimeStampResponse generateTimeStamp(TimeStampRequest tsRequest, BigInteger serialNumber) throws UnrecoverableKeyException, KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, UnrecoverableEntryException, IllegalArgumentException, TSPException, GeneralSecurityException;
}
